package com.dingqb.ndkproject.nativelib;

import android.util.Log;


/**
 * Created by Administrator on 2018\7\16 0016.
 * 本地
 */

public class ww {
    static String TAG = "dingqb";

    public static native String stringFromJNI();
    public static native String getName();
    public static native float add(float a, float b);
    public static native float mulit(float a, float b);// 另一个cpp文件中实现
    public static native int returnSelf(int a);
    public static native String returnSelfString(String self);
    public static native void var();

    public static void say(String data) {
        Log.e(TAG, "say: " + data);
    }

    public static void sayHello(String data) {
        say(data);
    }

    public void sayClassMethod(String data) {
        say(data);
    }

}
